package cn.zpcnet.zstring.utils.read;
import java.util.Scanner;

import cn.zpcnet.zstring.utils.exception.StringConvertNumberException;

/**
 * @author zpc20
 * @version 1.0
 */
public interface ReadScanner {
	 /**
	  * 获取Scanner实例
	  * @return
	  */
     Scanner getScannerInstance();
     /**
      * 读取一行
      * @return
      */
     String readLine();
     /**
      * 读取[INT数字]
      * @return
      * @throws StringConvertNumberException
      */
     int readInt() throws StringConvertNumberException;
     
     /**
      * 关闭Scanner
      */
     void close();
}
